package org.footearth.Jetty;import java.util.HashMap;import java.util.Map;import javax.servlet.http.HttpServlet;import org.footearth.Servelet.GoodbyeServlet;import org.footearth.Servelet.HelloServlet;import org.footearth.util.JettyServer;public class HelloJetty {	/**	 * @param args	 */	public static void main(String[] args) {		int port = 8080;		String ContextPath = "/";		Map<HttpServlet, String> ServletHoldMap = new HashMap<HttpServlet, String>();		ServletHoldMap.put(new HelloServlet(), "/hello");		ServletHoldMap.put(new HelloServlet("Hello Kongxx!"), "/hello/kongxx");		ServletHoldMap.put(new GoodbyeServlet(), "/goodbye");		ServletHoldMap.put(new GoodbyeServlet("Goodbye kongxx!"),				"/goodbye/kongxx");		boolean retCode = JettyServer.startServer(port, ContextPath,				ServletHoldMap);		if (retCode) {			System.out.println("Server start done.");		}	}}